package com.spring.shiro.service;

import com.spring.shiro.entity.User;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import java.util.List;

@WebService(targetNamespace="http://service.shiro.spring.com")
public interface CxfService {

    @WebMethod
    User findById(@WebParam(name = "userId")Long userId);

    @WebMethod
    List<User> findUsers();

}
